package cn.ainit.base.approve.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.junit.Test;


@Entity
@Table(name = "SYS_APPROVE")
public class SysApprove implements java.io.Serializable {
	private static final long serialVersionUID = 3315913950474756003L;
	// Fields
	private String djId;    //审批表的Id
	private Integer approveLevel;  //审批等级
	private String djType;      //审批表的类型
	private String djCode;
	private String isExamine;    //审批的结果
	private String examineTitle;   //审批的标题
	private String examineMan;  //审批人
	private Date examineDate;   //审批日期
	private Date lastModDate;   //最后的修改时间
	private Date inputDate;   //表单录入时间
	private String examineContent;   //审批的内容
	private String memo;   //审核的备忘录
	private String approveLevelName;//审批级别的名称
	private String ediType;//每个审批级别的对照信息
	private String dsId; 
	
	
	@Id
	@Column(name = "DJ_ID")
	public String getDjId() {
		return this.djId;
	}

	public void setDjId(String djId) {
		this.djId = djId;
	}
	@Id
	@Column(name = "APPROVE_LEVEL")
	 public Integer getApproveLevel() {
		return approveLevel;
	}
	public void setApproveLevel(Integer approveLevel) {
		this.approveLevel = approveLevel;
	}
	@Id
	@Column(name = "DJ_TYPE")
	public String getDjType() {
		return this.djType;
	}

	public void setDjType(String djType) {
		this.djType = djType;
	}

	@Column(name = "DJ_CODE")
	public String getDjCode() {
		return this.djCode;
	}

	public void setDjCode(String djCode) {
		this.djCode = djCode;
	}

	@Column(name = "IS_EXAMINE")
	 public String getIsExamine() {
		return isExamine;
	}
	public void setIsExamine(String isExamine) {
		this.isExamine = isExamine;
	}
	@Column(name = "EXAMINE_TITLE")
	public String getExamineTitle() {
		return this.examineTitle;
	}

	public void setExamineTitle(String examineTitle) {
		this.examineTitle = examineTitle;
	}

	@Column(name = "EXAMINE_MAN")
	public String getExamineMan() {
		return this.examineMan;
	}

	public void setExamineMan(String examineMan) {
		this.examineMan = examineMan;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "EXAMINE_DATE")
	public Date getExamineDate() {
		return this.examineDate;
	}

	public void setExamineDate(Date examineDate) {
		this.examineDate = examineDate;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "LAST_MOD_DATE")
	public Date getLastModDate() {
		return this.lastModDate;
	}

	public void setLastModDate(Date lastModDate) {
		this.lastModDate = lastModDate;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "INPUT_DATE")
	public Date getInputDate() {
		return this.inputDate;
	}

	public void setInputDate(Date inputDate) {
		this.inputDate = inputDate;
	}

	@Column(name = "EXAMINE_CONTENT")
	public String getExamineContent() {
		return this.examineContent;
	}

	public void setExamineContent(String examineContent) {
		this.examineContent = examineContent;
	}

	@Column(name = "MEMO")
	public String getMemo() {
		return this.memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Column(name="approve_level_name")
	public String getApproveLevelName() {
		return approveLevelName;
	}
	public void setApproveLevelName(String approveLevelName) {
		this.approveLevelName = approveLevelName;
	}
	
	public String getEdiType() {
		return ediType;
	}
	public void setEdiType(String ediType) {
		this.ediType = ediType;
	}
	
	@Column(name = "DS_ID")
	public String getDsId() {
		return dsId;
	}
	public void setDsId(String dsId) {
		this.dsId = dsId;
	}
	

	
	
}